package com.ruoyi.points.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 秒杀设置对象 ms_config
 *
 * @author ruoyi
 * @date 2024-08-07
 */
public class MsConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 开启时间(整点) */
    @Excel(name = "开启时间(整点)")
    private Long startHours;

    /** 持续时间(整数小时) */
    @Excel(name = "持续时间(整数小时)")
    private Long keepHours;

    /** 幻灯片 */
    @Excel(name = "幻灯片")
    private String img;

    /** 是否可用 */
    @Excel(name = "是否可用")
    private Long status;

    /** 排序 */
    @Excel(name = "排序")
    private String weight;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setStartHours(Long startHours)
    {
        this.startHours = startHours;
    }

    public Long getStartHours()
    {
        return startHours;
    }
    public void setKeepHours(Long keepHours)
    {
        this.keepHours = keepHours;
    }

    public Long getKeepHours()
    {
        return keepHours;
    }
    public void setImg(String img)
    {
        this.img = img;
    }

    public String getImg()
    {
        return img;
    }
    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }
    public void setWeight(String weight)
    {
        this.weight = weight;
    }

    public String getWeight()
    {
        return weight;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("startHours", getStartHours())
            .append("keepHours", getKeepHours())
            .append("img", getImg())
            .append("status", getStatus())
            .append("weight", getWeight())
            .toString();
    }
}
